package message;

import java.util.ArrayList;
import java.util.List;

/**
 * 串口
 *
 * @author scw
 * @version v1.0
 * @date
 */
public class SerialPort {

    /**
     * 串口号
     * 根据机芯号分组 10 20 30 40 50 为串口1 串口号为0
     * 60及以上机芯 为串口2 串口号为1
     */
    private Integer index;

    /**
     * 机芯数据
     */
    List<Pinboard> pinboards = new ArrayList<Pinboard>();

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public List<Pinboard> getPinboards() {
        return pinboards;
    }

    public void setPinboards(List<Pinboard> pinboards) {
        this.pinboards = pinboards;
    }
}
